package com.clwl.supervise.superviseapp.mapper.risk;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.clwl.supervise.superviseapp.entity.risk.JgRiskCheckContent;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface JgRiskCheckContentMapper extends BaseMapper<JgRiskCheckContent> {

    List<Map<String, Object>> selectRiskTypeByCheckContent(@Param("checkContentId") Long checkContentId);

    int selectCountByCheckContent(@Param("checkContentId") Long checkContentId , @Param("riskCodeList") List<String> riskCode);
}